package com.easybbs.entity.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class AppConfig {
    @Value("${project.folder}")
    private String projectFolder;
    //是否是开发环境
    @Value("${isDev}")
    private Boolean isDev;

    @Value("${inner.api.appkey}")
    private String innerApiAppkey;

    @Value("${inner.api.appSecret}")
    private String innerApiAppSecret;

    public String getInnerApiAppkey() {
        return innerApiAppkey;
    }

    public String getInnerApiAppSecret() {
        return innerApiAppSecret;
    }

    public String getProjectFolder() {
        return projectFolder;
    }

    public Boolean getDev() {
        return isDev;
    }
}
